small fix for ping endpoint