cleaning up the form