       stock = variant.tempstock
       pair =
         newObj:
-          quantityOnStock: _s.toNumber(stock)
+          quantityOnStock: parseInt(stock, 10)
         oldObj: old
 
       updates.push pair

      stock = variant.tempstock
      inventory =
        sku: sku
        quantityOnStock: _s.toNumber(stock)
      creates.push inventory

    count = _.size(creates)

      @_loadMappings @_options.mapping
      @_loadProductsXML @_options.products
      ],
      (mappingsJson, productsXML) =>
        mappings = JSON.parse mappingsJson
        utils.assertProductIdMappingIsDefined mappings
        utils.assertSkuMappingIsDefined mappings
        @toBeImported = _.size(productsXML.Products?.ProductUpdate)
