fixing text to tpl