fix minor problem with BM files