     else if recentState?.state is 'STOPPED' or 'FAILED'
       osKite?.vmOn()
     else
-      notify cssClass : 'error'
+      @notify cssClass : 'error'
       osKite?.vmOff()
+
 
   pistachio: ->
     """

    """


  notify = do ->

    notification = null


              @createNewTab {vm: vmList[alias], session: sessionId, mode: 'resume'}

          unless sessionRestored
            @notify
              title     : "Your previous sessions are no longer online since your VM is turned off due to inactivity. \
                           If you want always on VMs, you can upgrade your plan"
              cssClass  : "fail"
