Fixed the space bug