changing connection error response back to what it should be