trim should handle null values