small bugfixes at discovery service