Form not submitting after error fixed