tpl little improvement

Works without enhanced links, little optimization.