Fix bug in archive.