Fix a bug with the proxy setup