clean up some code, null out form text on submit