fixing tpl