fix bmpLoader