fixed check upon current cc and local rep