pass twig_vars as reference