resolving members from generic