fix variable name in anagram_groups