Only a problem in connect()