[bugfix] release the eid ref