use url instead of baseurl