reset now working on form submission