cast cid to string