clear input field when enter is pressed