fixed archive bug