remove scopes