restore scope after reevaluation