validate uniqueness of word