updated StaticProxy.Interceptor
moved code to StaticProxy.Interceptor