fix for bug where disabled setting is not being cleared