fixing twig extension to work again