handle enable properly