fix form submit on return