my form not working properly