add verification for null rpc correctness