Fixed connection issues.