removing extra categories