bug fix - rank variable needs twig bracketing