fix twig strict bug