fixed service locator bug