Fix for URISyntaxException.