Solved issues with relayDiscovery