fixed wrong object reference when doing a lookup for the services provided by a client