correcting scope