fix C.B. computation