Removing space from tree's nodes names