add ipython version check