fix bug

fix bug loss packets