fixes to ping