fix the dedupEngine bug again