Fix bugs related to auto compilation of template handlebars .