Fixed twig errors