moved template errors