Use proper cid in codeinput cache.