clear the input field after submit