Fix invalid sent message.