fix discresponse
fix index for DiscoveryResponse
Merge branch 'develop' into 1.x-stable