Remove unnecessary blank spaces.