delete message
register object