Fix archiving process