Fixed a bug that cc is not defined

Fixed a bug that cc is not defined