all fixed but bug with spaced category names