clean up pdb