fixed bug in cache