guard against blank lines in db.txt