Clean up input fields.