set rservation source to correct variable