Fix alive condition.