incorporate the net_error fix