setting tpl fix