fix alchemy for python3