fix for categ IDs