fixed incompatibility issues for Oracle backend