fixed static tpl problem.