fixed lcd code