rebuild tpl mod