correct getCategory and getProduct