Fix a scope problem