fixing handlebars error