Remove notice of undefined index in cp_module.

#4669