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

        if error
          CoffeeAlerts.error("Error geting MOU: #{error.reason}")
        else if result?
          mouWindow = window.open("")
          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")
        
          #file = result
          #blob = new Blob [file],
          #  type: "text/html"

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

  @route 'mou',
