Fixed bugs with LCD display