bugfix - not equal number of categories