fix BMP
Merge pull request #197 from mniip/bmp

fix BMP