correct this scoping forEach