fixed a bug in my tmpl-precompile fork, restore precompile functionality