fix bug for trigger stats collector