some template modification.