fixed ping behaviour