fix handlebars error