more ipython fixes