fixed automatic archiving