attempt to fix twig loop