replaced the event with K_SPACE