tokenization error in input + corruption (work in progress)