handlebars fix for optimizer