fixed firefox page refresh on submit