fixed a display bug