 
   getBucketByZoomedAddress : (address) ->
 
-    buckets = @cube[address[3]].buckets
+    buckets = @cubes[address[3]].buckets
     bucketIndex = @getBucketIndexByZoomedAddress(address)
 
     if bucketIndex?

    oldBucketLevel = bucket.level
    bucket.level = 0

    subCube = @cube[zoomStep - 1]

    for dx in [0..1]
      for dy in [0..1]

    # return if no request is needed
    return if @isBucketRequestedByZoomedAddress(address)

    buckets = @cubes[address[3]].buckets 
    bucketIndex = @getBucketIndexByZoomedAddress(address)

    # mark the bucket as requested
