modify generate zip file