fast archive message record
remove unwanted codes