Connection Exception

Fixed connection exception.