Template bug correction.