repair ODBC abstraction layer