fix a bug

*the ccarray will be release before use