fix bug in macroservice acquisition and resolving