Fixed scope problem for config