add missing () for space key event