remove unneed spaces.