fixing generating the proxy url