modify for some template