ping bug

I modifed some places to fix the ping bug, try again