fix the conncection failed bug...