restore setting in current run loop