ensure that words are uniqueified correctly.