template caching trouble resolved