fixed the caching bug.  I am an idiot.