a serious bug in cst instantiate