Fixed cp.js