bugfix twig integration