fix tokenize function
Merge branch 'master' of https://github.com/allsteady/TOSE