Why my form stopped working and displaying blank page?