fix name deduplication