fixed minor error in cw