diff --git a/spec/index.spec.js b/spec/index.spec.js
index <HASH>..<HASH> 100644
--- a/spec/index.spec.js
+++ b/spec/index.spec.js
@@ -190,7 +190,7 @@ describe('phonegap-plugin-contentsync', function() {
                         jasmine.any(Function),
                         'Sync',
                         'cancel',
-                        []
+                        [ options.id ]
                     ]);
                     done();
                 }, 100);
diff --git a/www/index.js b/www/index.js
index <HASH>..<HASH> 100644
--- a/www/index.js
+++ b/www/index.js
@@ -58,9 +58,8 @@ var ContentSync = function(options) {
         options.headers = null;
     }
 
-    if (typeof options.id === 'undefined') {
-        options.id = null;
-    }
+    // store the options to this object instance
+    this.options = options;
 
     // triggered on update and completion
     var that = this;
@@ -97,7 +96,7 @@ ContentSync.prototype.cancel = function() {
         that.emit('cancel');
     };
     setTimeout(function() {
-        exec(onCancel, onCancel, 'Sync', 'cancel', []);
+        exec(onCancel, onCancel, 'Sync', 'cancel', [ that.options.id ]);
     }, 10);
 };
[www] Pass id to cancel operation.