Fix error with category