fix bug of baseurl