fix for clicking on bam