debug the upload cancel