fix bitmap file format support