small cleanup, so that the test on frequency works