config saving fix