fix stats by root category