fix overwrite insurance and always cancel uploadId when done