fix bitmap depth