fix rpc statistic bug