fixed dead error