issue #39: use correct reference to categoryId