fix multi-discover service bugs.