Fixed error in CPN model