bugfix for deletion when creating zip file