The form is hanging on submit