Fixed things in the frequency counters