fixes space not getting called