correct Scope iteration on Windows

removed debug printing