fixed  CCA bug