rename client id with cid.