fix variance computing issue within ccv_dpm