archive bug fix