bug fix to the template itself