fix ipython notebook start stop