fixing proxy error