add twig in catch