fixing categories as classes being spit out