fixed configuration saving issues