ERROR: tokenizer does not free everything