bam fix