fix missing network attribute when refactoring