fixed character display bug