next enabled condition bug