some fix with twig parser