Traing to fix 'categoryId' is NULL issue