fix enable/disable and default value