use uri toString to get base uri