number_of_triggers_expected fix