Fixed typecast for hit rates