fix form not submitting