Fixed bug in tokenizer