corrected parameter errors in Twig snippets