fix submitbutton bug