pass data to template bug fix