Fixed connection problems.