   for orig,trans of enums
     trans = orig unless trans.length > 0
     v = 'NO'
-    v = 'YES' if @val(row, orig, '') == '1'
+    v = 'YES' if @val(row, orig, '') is '1'
     d =
       name: trans
       value: v

  if data.attachments
    for k,v of data.attachments
      @transform @getAndFix(v), (data)=>
        @createOrUpdate(data, callback)
  else
    @returnError 'No products given', callback


    for k,row of xmljs.row
      v =
        id: 0
      @mapCategories row, v
      @mapAttributes row, v
      @mapPrices row, v, customerGroupId
      img = @mapImages row

      if @isVariant row
        parentId = row.basisUidartnr
        variants[parentId] = [] if not variants[parentId]
        v.id = variants[parentId].length + 2
