fixed the problem that counts the number of triggers even when the status is TRIGGER_STATUS_OK.