fix bug in macroservice acquisition and resolving
add WrongDistributionException Handler