fix remote reversal of order bug