Added code to reset string tokenizer