Fix connection settings