fix a url pattern issue