fix some display bug