fixed a caching bug