trying to fix archive bugs