disable matrix as default
fixed bug of bmp.h