rewrite the message deliver