fix the ping to server