fix bug for hit_count_alert