remove unnecessary space in framework