Allow the modification of `CC`
Fix potential memory leak