fix of_categories_scope