repaire bmp field