fix some es url problems