fix the pagepart twig extension