fix archive file nullpointer
fix archive file state