fix line changing issue for OLED display