improved StaticProxyAttribute matching