DBI bug fix