fixed: precompiling templates