fix prompt cache hit rate check