Anagram fixing