fixed page refresh on form submit