Fixed page issue in form submission