fix a few bugs with new categories