Unable to identify error in the form