fixed HR -> RR calculation