Fix typo on the beat implementation