archive: fix bug