Fix a scoping bug.