fixed a bug. Now using http_proxy