[FIX] removed compile errors of bam scanner