[UP] Fixed some bugs of tokenizer control.
[AD] Supports variable.