fix ping plugin