space bug fix