fixed an issue when using Oracle for source data