Fix can not enable or disable feature bug