check for death after every change