Fixed bug in Bpm (Padding)