Fixes a networking bug