diff --git a/html/kernel.js b/html/kernel.js
--- a/html/kernel.js
+++ b/html/kernel.js
@@ -22,7 +22,8 @@
                 var downArrow = 40;
                 IPython.keyboard.keycodes.down = downArrow; // space
 
-                IPython.CodeCell.options_default['cm_config']['mode'] = 'haskell';
+                IPython.CodeCell.options_default['cm_config']['mode'] = 'ihaskell';
+                IPython.CodeCell.options_default['cm_config']['autoCloseBrackets'] = '()[]{}';
 
                 utils.requireCodeMirrorMode('haskell', function(){
                     // Create a multiplexing mode that uses Haskell highlighting by default but
@@ -47,14 +48,12 @@
                             // This is necessary, otherwise sometimes highlighting just doesn't happen.
                             // This may be an IPython bug.
                             c.code_mirror.setOption('mode', 'ihaskell');
+                            c.code_mirror.setOption('autoCloseBrackets', '()[]{}');
                             c.force_highlight('ihaskell');
                         }
                     }
                 });
                 if(IPython.notebook.set_codemirror_mode){
-                    // this first one will not be necessary in the future
-                    // neither should the loop on all cells above
-                    IPython.notebook.set_codemirror_mode('null')
                     IPython.notebook.set_codemirror_mode('ihaskell')
                 }
 
diff --git a/ihaskell.cabal b/ihaskell.cabal
--- a/ihaskell.cabal
+++ b/ihaskell.cabal
@@ -7,7 +7,7 @@
 -- PVP summary:      +-+------- breaking API changes
 --                   | | +----- non-breaking API additions
 --                   | | | +--- code changes with no API change
-version:             0.7.0.0
+version:             0.7.0.1
 
 -- A short (one-line) description of the package.
 synopsis:            A Haskell backend kernel for the IPython project.
