trimming words before saving dem