fix archived messages