fix data enabled/disabled