trim whitespace from OIDs