fix cb code