clean up initialization of archiver