fixies function cancelUpload