adjust some template style