cleaned up a form