ipython image fix