strip out an RPC