error of previous mod: indata and data