implement base uri config