add query for hit stat