fixing double declaration of enabled