fix ipython init
more cleanup