remove unnecessary space in view helper