Fixed getCategories method

getCategories() was including the categoryId in each string and now it
isn't