detail bugfix in bam_alignment and bam_markduplicate wrappers