fix form submission