patch for NPE when no services are available to resolve against