fix bug in zip file download