fixed the proxy example for generics