fix a bug on proxy feature