try fixing space bug