fixed display bug of buttons