fixes up category tabs