     options.cssClass = "book"
     super options, data
 
-    @mainView = @getOptions().delegate
+    @mainView = @getDelegate()
 
     @currentIndex = 0
 

    user = KD.nick()
    userVmName = "[koding~#{user}~0]/home/#{user}"
    @utils.wait 500, =>
      @defaultVm = KD.singletons.finderController.treeController.nodes[userVmName]
      # find file tree's menu position
      vmOffset = @defaultVm.$(".icon").offset()
      @mainView.sidebar.animateLeftNavOut()

      user = KD.nick()
      @utils.wait 1200, =>
        @clickAnimation()
        KD.getSingleton("finderController").treeController.expandFolder(@webFolderItem)
        @webFolderItem.setClass 'selected'
        @findAndOpenIndexFile()

    # find user Web folder location
    user = KD.nick()
    webFolder = "[koding~#{user}~0]/home/#{user}/Web"    
    @webFolderItem = KD.getSingleton("finderController").treeController.nodes[webFolder]
    offsetTo = @webFolderItem.$().offset()
    # navigate to folder
    @pointer.$().offset offsetTo
