cleaned up tpl files