removed old code

Removed leftover code from using string tokenizer.
Fixed bug in process_operator.