fixed undelete messages with special characters