Fixed a bunch of network issues