fixed space bug