fix typo CCGeometry private function