fix bug in netpack