fixed bug form submit