refine AdvancedProxyHandler