Ugly fix for proxied URI