ensure that a word is not part of another word