fixed critical archivation bug