change the interface of rpc call