in ODBC model, fix an crash- Problem