fix a bug of C and CE