adjust some template