remove twig dynamic code to avoid crash