diff --git a/app/utils/pouch-oauth-xhr.js b/app/utils/pouch-oauth-xhr.js
index <HASH>..<HASH> 100644
--- a/app/utils/pouch-oauth-xhr.js
+++ b/app/utils/pouch-oauth-xhr.js
@@ -5,6 +5,7 @@ export default function(configs) {
         this.internalXHR = new XMLHttpRequest(objParameters);
         this.requestHeaders = {
         };
+        this.upload = this.internalXHR.upload;
     }
 
     PouchOauthXHR.prototype = {
@@ -91,10 +92,6 @@ export default function(configs) {
                 this.internalXHR.ontimeout = this.ontimeout;
             }
 
-            if (this.upload  !== undefined) {
-                this.internalXHR.upload = this.upload;
-            }        
-
             if (this.onreadystatechange !== undefined) {
                 var xhrwrapper = this;
                 this.internalXHR.onreadystatechange = function() {
Fixed error trying to access upload property on PouchOauthXHR