clanup for cid file