Fixed Address bug in connect()