adjusts spaces