tweak to make twig work