     @openedInstances[path] = instance
 
   getAppInstance: (path) ->
-    @openedInstances[path]
+    @openedInstances[expandApplicationPath path]
 
   removeAppInstance:(path)->
     appInstance = @getAppInstance path


  getFrontApp:-> @frontApp

  expandApplicationPath:(path)->
    if /\.kdapplication$/.test path then path
    else "./client/app/Applications/#{path}.kdapplication"


      delete @appInitializationQueue[path]

  getAppViews:(path)->

    index = @appInstanceArray.indexOf @getAppInstance path
    @appViewsArray[index]

