fetch sub categories from categories