fix ipython notebooks