Fix not saving config