Fixed functions in twig.