fix the archive