impreved handling many proxies