Fix problem submitting form