[core] bug Fixes to ocpcarest.