fixed problems with archive