template bug fix #2