bpm bug fixed