diff --git a/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/extensions/picard/Picard.scala b/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/extensions/picard/Picard.scala
index f28faea5edf56e77adfd880262543f9ed33c06ff..5385fab72c425c7d8286eee83a65549a0efbd285 100644
--- a/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/extensions/picard/Picard.scala
+++ b/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/extensions/picard/Picard.scala
@@ -84,8 +84,8 @@ object Picard {
           case (_, Some(group)) => {
             val groupId = header.indexOf(group)
             if (groupId == -1) throw new IllegalArgumentException(group + " not existing in header of: " + file)
-            Some((for (c <- content) yield content(groupId).toString() -> {
-              header.zip(c).toMap
+            Some((for (c <- content) yield c(groupId).toString() -> {
+              header.filter(_ != group).zip(c).toMap
             }).toMap)
           }
           case (1, _) => Some(header.zip(content.head).toMap)