fixed problems with ping