Fixed scope problem