Strange problem, after giving lcd.clear();

When posting code in future please follow the advice given in the link below when posting code , use code tags and post the code here to make it easier to read and copy for examination