Fix the cleaning of the message once it is sent.