cleanup (preparing for zip