offline template adjustment