Fix archiving task