fix bug in populateScopeMap