[proxy] clean codes