fixed hasOptionEnabled