fix setting frequency summary string
Changed  local search to global search