freq_tracer: some fixes