fixed TypeResolver not to use pointer pointer