network: code style fix in network class