removes duplicate versions