change cache id to eid