fix to work in readthedocs (I hope)