fixed ipython shell embed.