master: [bugs] fix category_name method error when category is null