Fixed ping bug