deduplicate some version references