dip fixes for Bmp