Get rid of unnecssary URISyntaxException.