fixed dedupe_left_right bug