fixes for ipython and notest
no tests