fixed issue #1 - sticky template caching.