Fixed scope not defined