fix a ping bug, and change  to