fix bugs for ipython notebooks
add new ivy