metronome termination fix