bug fix ping command