get IDEA scopes right