fixed default_template var