Fix bug from the metronome.