fixed form submission error