update calculation for oc > 1.5.2