Fixed minor return false all the time bug in connect...