Fixed resetting input fields