removing whitespace of Category before changing it's name