Form submission fix