Correct bad scope error.