A fix to BMP validator without bmp support.