attempt to fix twig error loop again