fixes product categories controller