removed old top_level_scopes_deprecated