fixed function obtain_category_list