changed rpc to use correlation_id