fixed archive problems