made ping more sensible