bug fixed in network output