Fixed a bug in CCA in perf