Form not working properly on phone