Fixed spacebar issue