fix network connect failed bug