dbapi fix