fix bug that makes installation from pip fail