bug fixes for dying