change Rx to be synchronized