remove conf and data from cpd