delete useless code in proxy.c