remove dead cst code