Fix ping bug when various URI