Fixed bug in network adapter