 
   createPanes: ->
     for paneOptions, index in @getOptions().panes
-      @createPane paneOptions, @getPaneByIndex index
+      @createPane paneOptions, @getPaneContainerByIndex index
 
   createPane: (paneOptions, targetContainer) ->
     paneTypesToPaneClass =

    baseSplit       = @createSplitView "vertical", [pane1, rightInnerSplit]

    @container.addSubView baseSplit

    @panes.push pane1, pane2, pane3

  createQuadrupleLayout: ->
    pane1           = new KDView

    splitView = @createSplitView "vertical", [pane1, pane2]

    @container.addSubView splitView
    @panesContainer.push pane1, pane2

  createTripleLayout: ->
    pane1           = new KDView
