fix a display problem