Twig method fix