fix for scopes.php.twig