fix ipython import stuff