fix bug in CoolClientProxy::SearchResource