remove bmp type