scope problem