fixed configuration saving