wrong template logical