C.Wu: fixed a minor bug in CdcSD.