c and p error