fixed bug with bamfile mode