reset input fields to empty
fix indentation