diff --git a/oaipmh-core/src/main/java/info/textgrid/middleware/IDIOMImages.java b/oaipmh-core/src/main/java/info/textgrid/middleware/IDIOMImages.java
index 7e0cff75d2f5295c6ff7e91ae06dca676bb45d85..8f8123b1e971add6e8fe58875cc1bab7088eaa24 100644
--- a/oaipmh-core/src/main/java/info/textgrid/middleware/IDIOMImages.java
+++ b/oaipmh-core/src/main/java/info/textgrid/middleware/IDIOMImages.java
@@ -158,7 +158,7 @@ public class IDIOMImages implements RecordDelivererInterface, RecordListDelivere
             Document doc = builder.parse(new InputSource(new StringReader(immByTGURI.getXML())));
             metadataMets.setAny(doc.getDocumentElement());
             conedaKorRecord.setMetadata(metadataMets);
-            conedaKorRecord.setHeader(buildOAIPMH_RecordHeader(immByTGURI.getCreationDate(), immByTGURI.getID()));
+            conedaKorRecord.setHeader(buildOAIPMH_RecordHeader(immByTGURI.getCreationDate(), id));
             singleImageMetsMods.setRecord(conedaKorRecord);
         } catch (ParserConfigurationException e) {
             // TODO Auto-generated catch block