correction scoping error