Remove unnecessary white spaces.