fixed method name in template