fix multi-service discover process bug.