fixed bug where samtools sort causing an error