fix the call to grab the category