[proxy] improve proxy