a caching bug corrected and about template