fix error in samtools output