fix wrong cp order