fixed an uploading bug,adding the upload time limit