changed URI.join to URI#merge