fixing root category issue