add resolve api in tpl