fixed filename issue sam/bam