trimmed the message