fixed diff object not ressetting after diffing to trees