pass $vars['name'] now instead of $vars['internalname']