Fixes resource uris...