remove unnecessary space in common