clean up tokenizer