fixed addBeat