fixed spacebar issue on linux