added odbc check