fix check packet order