fix deduping.