support for resolving relative uris