Workaround bug in odbc