Fixed deleted scopes