fixed a db driver bug
bug fix.