connection_error fix