cleaning up input fields