twig extension fix