fix form submit not working