fixes preemptive space bar bug