detect weaved class for fetch template