fix host_db extraction for sqlite3