fix the url pattern can't support ip address