Fixing bugs in networking