Bug in first line of template