scopes fix