fixed bugs in tokenizeString and fixed bug calling addTokens