Bmp fix