     @addSubView controller.getView()
 
     listView.on 'ModalDestroyRequested', @bound 'destroy'
-    listView.on 'StackReinitRequested', (stack) ->
+    listView.on 'StackReinitRequested', (stack) =>
 
-      stack.delete (err) ->
+      stack.delete (err) =>
         return showError err  if err
 
         { computeController, appManager } = kd.singletons

        computeController
          .reset()

          .once 'RenderStacks', (stacks) ->

            new kd.NotificationView
              title : 'Stack reinitialized'

            frontApp = appManager.getFrontApp()
            frontApp.quit()  if frontApp?.options.name is 'IDE'

            @destroy()

          .createDefaultStack()
