remove unnessesory spaces