detect all dead fix