remove unnecessary space