Revert "adapt for multiple categories"

This reverts commit da190b62149662f02ce703bc3ef0881dcc6e531e.