Fix for ping command