bugfix to pick empirical category values