Fixed the form submission