Debug message cleanup.
Fixed a bug with incorrectly combined URIs