fixes for clean install from pypi
bugfix