fixed the ping system