fixed bug on generation scopes