bugfixing in the discovery service