fixed bug with hitcounts