leading & trailing whitespace is now trimmed from categories