removed var attribute from template