rebuild tokenizer