change templates to be included only once.