fix spacebar spam