caching with bugs