bugfix
network generator refactor