modify spaces.