bugfix for networking