fix query tokenizer.