bug fix - prevent page refresh on form submission