save config file when disable