cleanup up structure for zip restore