Error template adjustment