fix double form submit