fixed handlebars errors