references properly updated on kill