removing spaces in the category name