fixed bug in archiver