fix RemoteProvider api usage in Proxy