fix heart rate
Merge pull request #102 from Ingener74/global_refactor

fix heart rate