fix name duplicates