Fix bug, zip file is generating not an empty