treating case in tokenizer