core-4785 fix delete msg.