fix bug in network reading