Remove unnecessary space.