fix some bad code in b_cString