networking fix bugs