           #saveAs(blob, fileId + ".html")
         else
           CoffeeAlerts.error("Error geting MOU, could not find file")
-        
-        Router.go 'viewCase', 
-          _id: @params.case
+          Router.go 'viewCase', 
+            _id: @params.case
         
 
   @route 'mou',

        else
          CoffeeAlerts.error("Error geting BID, could not find file")
        
        Router.go 'viewCase', 
          _id: @params.case
  
          
  @route 'downloadMou',

        if error
          CoffeeAlerts.error("Error geting MOU: #{error.reason}")
        else if result?
          console.log("mouWindow?", mouWindow)
          mouWindow = window.open("","_self")
          #if not mouWindow?
          #  # Try in same frame
          #  mouWindow = window.open("","_self")
          if mouWindow?
            mouWindow.document.write(result)
            #if false
            #  console.log("print MOU")
            #  mouWindow.print()
          else
            CoffeeAlerts.error("Error geting MOU, you need pop up windows enabled for this to work")
            Router.go 'viewCase', 
              _id: @params.case
          #file = result
          #blob = new Blob [file],
          #  type: "text/html"
