fix lcd bug