fix index for DiscoveryResponse