fixed $codeCount identifier