dont call fill_rates() until the window is shown