put reset inside submit;