fix bug in bmp_read