fixed adsparse for python not just ipython