fix ipython notebook