cleanup of duplicates from renumbering