Twig path correction