Fix enabled condition