change some clicks to submits