remove old message functions