debug the spacebar