added net packet check