fixed bug on operation-based inheritance scopes