           image = new Image
           image.src = val
 
-    @_cubes[setsKeys[0]].el.style.marginLeft = '0'
-    @_cubes[setsKeys[setsKeys.length - 1]].el.style.marginRight = '0'
+    @cubes[setsKeys[0]].el.style.marginLeft = '0'
+    @cubes[setsKeys[setsKeys.length - 1]].el.style.marginRight = '0'
 
     @el.classList.add @className
     @el.style.height = @size + 'px'



  getValue: ->
    for set, cube of @_cubes
      set = @sets[set]
      setLength = set.length
      offset = cube.yLast / 90

    i = z = 0
    midPoint = setsLength / 2 + 1
    for key, set of @sets
      cube = @cubes[key] = @_createCube key
      if ++i < midPoint
        z++
      else
