fixed failed connection