fix RPC batch