fixed a bug with reporting a connection error