Fixes minor bug with networking