remove memory barrier in rpc