purifies the message system