reset pseudo counters each child loop