Deal with uri issues.