fix the url format problem