fix new record have no subcategory problem