fixed stupid coding error in with-dbs