number error fix in tpl file