added trim() to the message