fix bmp