fixed error in tokenize function in wordlist