Fix scopeName