fixed cnp error