modify: text and the place of templates
refactor: the inner of head