fixed bug on bpm change (2)