Fix proxy retrieval