fix monitor counters