fix the url requesting issue