fixing connection settings