solve the problem that zip file is not archived upon successful upload