improve dead mode