clear input on spacebar