fix checkpoint: SQLAlchemy==0.9.8