change in template bug fix