Made wor spaces appear in correct order