fixing wrong use of object in TermDiff