Fix cptree.