fixed handlebars not working correctly