fixed NPE in death listener