moving to sqlalchemy fix