Better packet check