fix the issue when master was dead accidentally