templates adjustment