additional check for categoryPriors