fix global handlebars jade, global leaks