modifications
diff --git a/i5CorpusHeaderSkeleton.i5.xml b/i5CorpusHeaderSkeleton.i5.xml
index 74f85bd..c84dd89 100644
--- a/i5CorpusHeaderSkeleton.i5.xml
+++ b/i5CorpusHeaderSkeleton.i5.xml
@@ -18,7 +18,7 @@
           <h.title type="main">[$PUBLTITLE], [$YEAR]</h.title>
           <imprint>
             <publisher>[$PUBLISHER]</publisher>
-            <pubPlace key="DE">[$PUBPLACE]</pubPlace>
+            <pubPlace key="[TL]">[$PUBPLACE]</pubPlace>
           </imprint>
         </monogr>
       </biblStruct>
diff --git a/i5TextHeaderSkeleton.i5.xml b/i5TextHeaderSkeleton.i5.xml
index 6da8370..3923dfc 100644
--- a/i5TextHeaderSkeleton.i5.xml
+++ b/i5TextHeaderSkeleton.i5.xml
@@ -60,9 +60,6 @@
     <creation>
       <creatDate>[$DATE-BACKWARDS]</creatDate>
     </creation>
-    <langUsage>
-      <language id="fi" usage="|xxx:44|fin:23|eng:3|"/>
-    </langUsage>
     <textClass>      
       <classCode scheme="kielipankki_klk">[$PUBLTYPE]</classCode>
       <classCode scheme="kielipankki_klk_mapped">[$TRANSLATION($PUBLTYPE)]</classCode>
diff --git a/rearrange-idsDoc.awk b/rearrange-idsDoc.awk
index e267553..fad3db2 100644
--- a/rearrange-idsDoc.awk
+++ b/rearrange-idsDoc.awk
@@ -2,7 +2,7 @@
 BEGIN                                                           {DOCCOUNT = 0;}
 
 $0 ~  "</idsDoc>"                                               {}
-$0 ~  "<idsDoc>"                                                {
+$0 ~  "<idsDoc"                                                 {
                                                                   if(DOCCOUNT++ > 0){
 								      print "  </idsDoc>";
 								    };
@@ -10,5 +10,5 @@
                                                                 }
 $0 ~  "</idsCorpus>"                                            {print "  </idsDoc>\n</idsCorpus>"}
 
-$0 !~ "</idsDoc>" && $0 !~ "</idsCorpus>" && $0 !~ "<idsDoc>"   {print}
+$0 !~ "</idsDoc>" && $0 !~ "</idsCorpus>" && $0 !~ "<idsDoc"    {print}