fixed oci_error resource issue