cleaning up the message text