fix in pdb cleanup script