fixed situation where connection config was not saved