Use public api of OC_util

fix badcode issue