fix check defs - clear residue